package com.smile.service.entity.services;

import com.alibaba.druid.sql.visitor.PrintableVisitor;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class FlyToPointData implements Serializable {

    private static final long serialVersionUID = 1L;

    @JSONField(name = "fly_to_id")
    private String flyToId;

    @JSONField(name = "max_speed")
    private Integer maxSpeed;

    @JSONField(name = "points")
    private List<Point> points;

    @Data
    @ToString
    public static class Point implements Serializable {
        private static final long serialVersionUID = 1L;

        @JSONField(name = "height")
        private Float height;

        @JSONField(name = "latitude")
        private Double latitude;

        @JSONField(name = "longitude")
        private Double longitude;
    }
}
